package cn.java86.myschool.service;

import cn.java86.myschool.entity.Page;
import cn.java86.myschool.entity.Subject;

public interface SubjectServiceI {
    int add(Subject s);

    int update(Subject s);

    int del(Long id);

    Subject get(Long id);

    //分页搜索
    Page<Subject> search(int pageNo, int pageSize, String name);
}
